package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.DailyItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DailyItemMapperEx {

    List<DailyItem> selectByConditionDailyItem(
            @Param("name") String name,
            @Param("offset") Integer offset,
            @Param("rows") Integer rows);

    Long countsByDailyItem(
            @Param("name") String name);

    int batchDeleteDailyItemByDailyHeadIds(@Param("dailyHeadIds")String []dailyHeadIds);

    List<DailyItem> getDetailList(@Param("headerId")String headerId);

    List<DailyItem> getDetailListByTime(@Param("beginTime")String beginTime,@Param("endTime")String endTime);
}
